package com.pengke.pangu.common.config;

public class ConstConfig {

    //验证码过期时间
    public static final Integer CAPTCHA_EXPIRATIONTIME = 5;
    //验证码随机字符内容
    public static final String CAPTCHA_RANDOMWORDS = "2345678acdefhjkmnpstwxyABCDEFGHJKMNSTXYZ";
    //验证码宽度
    public static final Integer CAPTCHA_WIDTH = 120;
    //验证码高度
    public static final Integer CAPTCHA_HEIGHT = 40;
    //验证码位数
    public static final Integer CAPTCHA_LENGTH = 4;
    //账户锁定时间
    public static final Integer USER_LOCKED_TIME = 15;
    //登录失败次数
    public static final Integer USER_LOGIN_COUNT = 5;

    public static final String SATOKEN_REDIS_KEY_LOGIN_ROLE = "satoken:loginId-find-role:";

    public static final String SATOKEN_REDIS_KEY_ROLE_PERMISSION = "satoken:role-find-permission:";

}
